package b.acct.impl

import com.lightbend.lagom.scaladsl.api.ServiceLocator
import com.lightbend.lagom.scaladsl.api.ServiceLocator.NoServiceLocator
import com.lightbend.lagom.scaladsl.devmode.LagomDevModeComponents
import com.lightbend.lagom.scaladsl.server.{LagomApplication, LagomApplicationContext, LagomApplicationLoader}

/**
  * Created by lenovo on 2017/2/8.
  */
class C账户ApplicationLoader extends LagomApplicationLoader {

  override def loadDevMode(context: LagomApplicationContext): LagomApplication =
    new AC账户Application(context) with LagomDevModeComponents

  override def load(context: LagomApplicationContext): LagomApplication = new AC账户Application(context) {
    override def serviceLocator: ServiceLocator = NoServiceLocator
  }

}
